package com.hdoit.apollo.logical.wechat.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tennetcn.data.dao.base.impl.SuperDao;
import com.hdoit.apollo.logical.wechat.dao.IFavoriteDao;
import com.hdoit.apollo.logical.wechat.mapper.FavoriteMapper;
import com.hdoit.apollo.logical.wechat.model.Favorite;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年09月03日 14:46:57
 * @comment
 */
@Component
public class FavoriteDaoImpl extends SuperDao<Favorite> implements IFavoriteDao{

	@Autowired
	private FavoriteMapper favoriteMapper;
	
	@Override
	public Favorite queryModelByCargoIdAndCustomerId(String cargoId,
			String customerId) {
		
		return favoriteMapper.queryModelByCargoIdAndCustomerId(cargoId,customerId);
	}

}